package net.cjw.initsb.rabbitmq;

import org.springframework.stereotype.Component;

@Component
//@RabbitListener(queues = "hello")
public class HelloReceiver {

//    @RabbitHandler
    public void process(String hello) {
        System.out.println("HelloReceiver  process(): " + hello);
    }

}